const API = {
    GET_APPLICATION_LIST: '/application/list',
    START_APPLICATION: '/robot/start',
    PAUSE_APPLICATION: '/robot/stop',
    STATE_APPLICATION: '/robot/state',
    ROBOT_DETAIL: '/robot/bank_detail',

    APPROVE_DETAIL: '/robot/get_approve_detail',
    HOUSE_COMMIT_TO_BANK: '/robot/house_commit_to_bank',

    GET_BANK_INFO: '/robot/get_data_from_bank',

    QUERY_HISTORY: '/history/list',
    HISTORY_FILES: '/history/get_files',
    HISTORY_DELETE_FILES: '/history/delete_files',
    HISTORY_DELETE_FILE: '/history/delete_file',
    BANK_COMMIT_TO_HOUSE: '/robot/bank_commit_to_house',

    STATISTIC_HISTORY: '/history/statistic',
    HISTORY_UPLOAD: 'http://127.0.0.1:5000/history/upload',
    UPLOAD: 'http://127.0.0.1:5000/file/upload',
    DOWNLOAD: 'http://127.0.0.1:5000/file/download',
    HISTORY_DELETE: "/history/delete",

    LOG_LIST: '/log/file_list',
    LOG_READ: '/log/read'
};

export default API;
